<template>
  <div>
    测试 {{list}}
    <br>
    {{listx}}
  </div>
</template>
<script>
import { mapState } from 'vuex'
export default {
  computed: {
    // ...mapState(['demo1/list', 'demo/listx'])
    // ...mapState('',{ a: 'demo1/list', b: 'demo/listx' })
    ...mapState('demo', ['listx']),
    ...mapState('demo1', ['list'])
  },
  created () {
    // this['demo1/list']()
  }
}
</script>
